package com.jwsoft.manager.common.vo.eduDataTask;

import com.bifang.assistant.common.vo.BaseVO;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据备份任务表VO
 *
 * @author zhiyuan
 * @since 2023-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EduDataTaskVO extends BaseVO {

    @Schema(name = "taskId", description = "任务id")
    private String taskId;

    @Schema(name = "taskName", description = "记录名")
    private String taskName;

    @Schema(name = "year", description = "年度")
    private Integer year;

    @Schema(name = "status", description = "任务状态 0待处理 1待迁移 2待加密 3待销毁 4完成")
    private String status;

    @Schema(name = "errorFlag", description = "处理状态是否有误  0是  1否")
    private String errorFlag;

    @Schema(name = "errorRemarks", description = "错误描述")
    private String errorRemarks;

    @Schema(name = "createName", description = "创建人")
    private String createName;

    @Schema(name = "createTime", description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
